﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace MetozisWeb
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "ProductService" in code, svc and config file together.
    // NOTE: In order to launch WCF Test Client for testing this service, please select ProductService.svc or ProductService.svc.cs at the Solution Explorer and start debugging.
    public class ProductService : IProductService
    {
        public IEnumerable<Product> GetProducts()
        {
            return new List<Product>
            {
                new Product {Id = 1, Name = "a"},
                new Product {Id = 2, Name = "b"},
                new Product {Id = 3, Name = "c"},
                new Product {Id = 4, Name = "d"},
                new Product {Id = 5, Name = "e"}
            };
        }

    }
}
